<template>
	<view class="cu-list menu-avatar">
		<view class="cu-item" :class="modalName=='move-box-'+ index?'move-cur':''" v-for="(item,index) in list" :key="index"
		  :data-target="'move-box-' + index">
			<view class="cu-avatar  lg"></view>
			<view class="content">
				<view class="text-grey">{{item.userName}}</view>
				<view class="text-gray text-sm">
					 {{item.createTime}}</view>
			</view>
			<!-- <view class="action">
				<view class="cuIcon-down round"></view>
			</view> -->
		</view>
	</view>
</template>

<script>
	import {listAccept} from '@/api/system/accept'
	export default {
		data() {
			return {
				modalName: null,
				listTouchStart: 0,
				listTouchDirection: null,
				shareId:0,
				list:[]
			}
		},
		onLoad(options) {
			this.shareId=options.id
			this.getList()
		},
		methods: {
			getList(){
				listAccept({pageSize:1,pageNum:10,orderByColumn:'id',isAsc:'desc',shareId:this.shareId}).then(res=>{
					this.list=res.rows
				})
			},

		}
	}
</script>

<style>
	.cu-avatar{
		background-image: url('/static/images/tabbar/mine.png');
		background-color: initial;
	}
</style>